﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Text;
using XKPlatform.DataModels.Dao.BaseDao;

namespace XKPlatform.DataModels.SysModel
{
    /// <summary>
    /// 自动生成页面代码 配置页面中需要的按钮事件
    /// </summary>
    [Table(DisableSyncStructure = true, Name = "SysAutoCodeTablePageButtonInfoCfg")]
    public class SysPageButtonInfoCfg : BaseEntity
    {
        [Column(IsPrimary = true)]
        public string ID { get; set; }
        /// <summary>
        /// SysAutoCodeTableCfg 中的 Id
        /// </summary>
        public string TableID { get; set; }
        /// <summary>
        /// 页面中按钮id 
        /// </summary>
        public string ButtonId { get; set; } 
        /// <summary>
        /// 是否需要权限
        /// </summary>
        public bool IsPermission { get; set; }
        /// <summary>
        /// 按钮事件调用地址
        /// </summary>
        public string ActionUrl { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedOn { get; set; }
        public string ModifyBy { get; set; }
        public string ModifyOn { get; set; }
    }
}
